package protocol

import (
	"gitee.com/crack007/goose/core/server"
	"net"
)

type IProtocol interface {
	Code() uint32
	Process(session *server.Session, clientConn *net.UDPConn) IProtocol
	Marshall() []byte
	UnMarshall(data []byte)
}
